package com.bestom.t9mod.commons.constant;

public enum KPAErrorCode {

    ERROR0(0, "测量不到有效的脉搏"),
    ERROR1(1, "11S内打气不上50mmHg(气袋没绑好)"),
    ERROR2(2, "测量结果数值有误"),
    ERROR3(3, "气袋压力超过295mmHg .进入超压保护"),
    ERROR4(4, "干预过多（测量中移动、说话等）");

    private final int code;

    private final String msg;

    KPAErrorCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
